import { ajaxAsync } from 'vue-xiaobu-utils'

/**
 * 退出登录
 * @returns {Promise<void>}
 */
async function logout() {
  return ajaxAsync('/wx/logout', {})
}

export {logout}
